<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>UserVO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface UserVO : NSObject

//用户id
@property (nonatomic, assign) NSString userId;
//用户名
@property (nonatomic, assign) NSString userName;
//
@property (nonatomic, strong) SimpleUser friend;
//好友
@property (nonatomic, strong) SimpleUser[] friends;
//阅读图书
@property (nonatomic, strong) BookVO[] readBooks;
//是否关注
@property (nonatomic, strong) BOOL isFollow;
//
@property (nonatomic, strong) UserVO[] follower;


@end
</xmp>
</pre>


<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface SimpleUser : NSObject

//用户id
@property (nonatomic, assign) NSString userId;
//用户名
@property (nonatomic, assign) NSString userName;
//
@property (nonatomic, strong) SimpleUser friend;


@end
</xmp>
</pre>


<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface BookVO : NSObject

//图书id
@property (nonatomic, strong) long bookId;
//图书名称
@property (nonatomic, assign) NSString bookName;
//
@property (nonatomic, strong) BookPrice price;


@end
</xmp>
</pre>

<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface BookPrice : NSObject

//价格
@property (nonatomic, strong) double price;
//国家
@property (nonatomic, strong) NSInteger country;


@end
</xmp>
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>